package b.i.j;

import c.b.a.a.a;
import java.util.Objects;

/* compiled from: Pair */
public class b<F, S> {
    public final F a;
    public final S b;

    public b(F f, S s) {
        this.a = f;
        this.b = s;
    }

    public boolean equals(Object obj) {
        boolean z = false;
        if (!(obj instanceof b)) {
            return false;
        }
        b bVar = (b) obj;
        if (Objects.equals(bVar.a, this.a) && Objects.equals(bVar.b, this.b)) {
            z = true;
        }
        return z;
    }

    public int hashCode() {
        Object obj = this.a;
        int i = 0;
        int hashCode = obj == null ? 0 : obj.hashCode();
        Object obj2 = this.b;
        if (obj2 != null) {
            i = obj2.hashCode();
        }
        return hashCode ^ i;
    }

    public String toString() {
        StringBuilder g = a.g("Pair{");
        g.append(String.valueOf(this.a));
        g.append(" ");
        g.append(String.valueOf(this.b));
        g.append("}");
        return g.toString();
    }
}
